package com.unhz.generator.pojo;

import java.util.Date;

/**
 * 登录日志
 */
public class LoginInfo {

    /** 登录日志Id */
    private Integer id;
    /** 登录用户Id */
    private Integer userId;
    /** 登录IP地址 */
    private String ipAddress;
    /** 登录时间 */
    private Date loginTime;
    /** 登录用户对象 */
    private User user;

    public User getUser() {
        return user;
    }
    public void setUser(User user) {
        this.user = user;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress == null ? null : ipAddress.trim();
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }
}